<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <form action="login" method="post">
        username:<input type="text" name="username" <#if username??>value="${username}"</#if>/><p/>
        password:<input type="password" name="password"/><p/>
        验证码:<input type="text" name="captcha"/><p/><img src="/kaptcha.jpg"/>
        <p/>
        <#if msg??>
            ${msg}<p/>
        </#if>
        <input type="submit" value="submit">
    </form>
</body>
</html>